package com.wy.service.wy;

import com.wy.bean.FeeBean;
import com.wy.model.sys.DeviceEntity;
import com.wy.model.sys.FeeRecord;

import java.util.List;

public interface FeeService {

	/**
	 * 新建费用规则
	 * @param feeBean
	 */
	void insertFeeRule(FeeBean feeBean);

	/**
	 * 获取费用规则列表
	 * @return
	 */
	List<FeeBean> feeRuleList(Integer pageSize, Integer start, Integer residenceId, String feeName,String feeType, List<String> rids);

	/**
	 * 获取费用规则总量
	 * @return
	 */
	Integer feeRuleSize(Integer pageSize, Integer start,Integer residenceId, String feeName,String feeType,List<String> rids);

	/**
	 * 修改费用规则
	 * @param feeBean
	 */
	void updateFeeRule(FeeBean feeBean);

	void deleteFeeRule(List<String> groupId);

	/**
	 * 获取费用记录列表
	 * @return
	 */
	List<FeeRecord> feeRecordList(Integer pageSize, Integer start, Integer residenceId, String feeName, String feeStatus, String feeType,
								  Integer houseId, List<String> rids,Integer buildingId);

	/**
	 * 获取费用记录总量
	 * @return
	 */
	Integer feeRecordSize(Integer pageSize, Integer start,Integer residenceId, String feeName,String feeStatus,String feeType,
						  Integer houseId, List<String> rids,Integer buildingId);

	/**
	 * 获取费用记录列表(无分页)
	 * @return
	 */
	List<FeeRecord> feeRecordList(String feeStatus, String feeType,Integer houseId);

	/**
	 * 小区ID
	 * @param residenceId
	 */
	void generateFeeRecord(Integer residenceId);

	/**
	 * 根据规则生成账单
	 * @param feeBean
	 */
	void generateFeeRecord(FeeBean feeBean);

	/**
	 * 根据时间获取费用规则
	 * @param today
	 */
	List<FeeBean> getFeeRuleByTime(String today);

	FeeBean getFeeRuleById(Integer id);




}
